Optimal. Leaf size=37 \[ \frac {\csc ^2(c+d x)}{2 a d}-\frac {\csc ^3(c+d x)}{3 a d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 37, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {2836, 12, 43} \[ \frac {\csc ^2(c+d x)}{2 a d}-\frac {\csc ^3(c+d x)}{3 a d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 43
Rule 2836
Rubi steps
\begin {align*} \int \frac {\cot ^3(c+d x) \csc (c+d x)}{a+a \sin (c+d x)} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {a^4 (a-x)}{x^4} \, dx,x,a \sin (c+d x)\right )}{a^3 d}\\ &=\frac {a \operatorname {Subst}\left (\int \frac {a-x}{x^4} \, dx,x,a \sin (c+d x)\right )}{d}\\ &=\frac {a \operatorname {Subst}\left (\int \left (\frac {a}{x^4}-\frac {1}{x^3}\right ) \, dx,x,a \sin (c+d x)\right )}{d}\\ &=\frac {\csc ^2(c+d x)}{2 a d}-\frac {\csc ^3(c+d x)}{3 a d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.06, size = 28, normalized size = 0.76 \[ \frac {(3 \sin (c+d x)-2) \csc ^3(c+d x)}{6 a d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.48, size = 38, normalized size = 1.03 \[ -\frac {3 \, \sin \left (d x + c\right ) - 2}{6 \, {\left (a d \cos \left (d x + c\right )^{2} - a d\right )} \sin \left (d x + c\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.17, size = 26, normalized size = 0.70 \[ \frac {3 \, \sin \left (d x + c\right ) - 2}{6 \, a d \sin \left (d x + c\right )^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.20, size = 29, normalized size = 0.78 \[ \frac {-\frac {\left (\csc ^{3}\left (d x +c \right )\right )}{3}+\frac {\left (\csc ^{2}\left (d x +c \right )\right )}{2}}{a d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.31, size = 26, normalized size = 0.70 \[ \frac {3 \, \sin \left (d x + c\right ) - 2}{6 \, a d \sin \left (d x + c\right )^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 8.76, size = 36, normalized size = 0.97 \[ \frac {\frac {5\,\sin \left (c+d\,x\right )}{16}+\frac {\sin \left (3\,c+3\,d\,x\right )}{16}-\frac {1}{3}}{a\,d\,{\sin \left (c+d\,x\right )}^3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________